﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CFZS.Model
{
    /// <summary>
    /// baseUser:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class baseUser
    {
        public baseUser()
        { }
        #region Model
        private long _id;
        private string _username;
        private string _password;
        private long? _baseperson;
        private long? _baserole;
        private int? _lineno;
        private int? _type;
        private int? _isactive = 1;
        private string _descr;
        private string _xmlpower;
        private DateTime? _createdat;
        private long? _createdby;
        private DateTime? _updatedat;
        private long? _updatedby;
        private string _ip;
        private string _jcorgs;
        /// <summary>
        /// 
        /// </summary>
        public long id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 用户名
        /// </summary>
        public string username
        {
            set { _username = value; }
            get { return _username; }
        }
        /// <summary>
        /// 用户密码
        /// </summary>
        public string password
        {
            set { _password = value; }
            get { return _password; }
        }
        /// <summary>
        /// 人员（与人员表的id关联）
        /// </summary>
        public long? baseperson
        {
            set { _baseperson = value; }
            get { return _baseperson; }
        }
        /// <summary>
        /// 角色
        /// </summary>
        public long? baseRole
        {
            set { _baserole = value; }
            get { return _baserole; }
        }
        /// <summary>
        /// 排列序号
        /// </summary>
        public int? lineno
        {
            set { _lineno = value; }
            get { return _lineno; }
        }
        /// <summary>
        /// 用户类型
        /// </summary>
        public int? type
        {
            set { _type = value; }
            get { return _type; }
        }
        /// <summary>
        /// 是否启用（0为：停用；1为：启用）
        /// </summary>
        public int? isactive
        {
            set { _isactive = value; }
            get { return _isactive; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string descr
        {
            set { _descr = value; }
            get { return _descr; }
        }
        /// <summary>
        /// 用户权限xml
        /// </summary>
        public string xmlpower
        {
            set { _xmlpower = value; }
            get { return _xmlpower; }
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? createdat
        {
            set { _createdat = value; }
            get { return _createdat; }
        }
        /// <summary>
        /// 创建人编号
        /// </summary>
        public long? createdby
        {
            set { _createdby = value; }
            get { return _createdby; }
        }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? updatedat
        {
            set { _updatedat = value; }
            get { return _updatedat; }
        }
        /// <summary>
        /// 更新人编号
        /// </summary>
        public long? updatedby
        {
            set { _updatedby = value; }
            get { return _updatedby; }
        }
        /// <summary>
        /// 最后操作人员的ip地址
        /// </summary>
        public string ip
        {
            set { _ip = value; }
            get { return _ip; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string jcorgs
        {
            set { _jcorgs = value; }
            get { return _jcorgs; }
        }
        #endregion Model

    }
}
